﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Core;
public partial class MainManager : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        var nguoiDung = (NguoiDung)Session["Login"];
        if (nguoiDung == null)
            Response.Redirect("/");
        else lblWelcome.Text ="Chào: "+ nguoiDung.TenDangNhap;
    }
}
